

export const ENV:string = import.meta.env.MODE
const reqConfig:any = {
  // 开发环境
  dev: {
    baseURL: "http://211.149.144.165:16001/api/grt",
    // baseURL: "http://192.168.16.103:16001/api/grt",
    mapUrl:'https://restapi.amap.com/v3/config/district',
    mapKey:'153a3794bdfdef4efb066c6f3475c262',
    upload:'http://211.149.144.165:16001/api/grt/minio-file/upload',
    timeout:100000,
    debug:true
  },
  //测试环境
  test: {
    // baseURL: "http://192.168.110.1:17001/api/grt", 
    baseURL: "http://211.149.144.165:17001/api/grt", 
    mapUrl:'https://restapi.amap.com/v3/config/district',
    mapKey:'153a3794bdfdef4efb066c6f3475c262',
    upload:'http://211.149.144.165:17001/api/grt/minio-file/upload',
    timeout:100000,
    debug:true
  },
  //正式环境
  uat: {
    baseURL: "https://saas.adas.com/prod-api/api/grt", 
    // baseURL: "http://211.149.144.165:18001/api/grt", 
    mapUrl:'https://restapi.amap.com/v3/config/district',
    mapKey:'153a3794bdfdef4efb066c6f3475c262',
    upload:'https://saas.adas.com/prod-api/api/grt/minio-file/upload',
    timeout:100000,
    debug:false
  },
};

export const httpConfig = reqConfig[ENV];